package com.kh.samr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 红黑名单查询参数Dto
 *
 * @author Harry
 * @date 2021/4/12
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "红黑名单查询参数Dto")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DishonestyParamDto extends AccessKeySecretDto {
	
	/**
	 * 统一社会信用代码
	 */
	@ApiModelProperty(value = "统一社会信用代码", required = true, example = "91120116058707092X")
	@NotBlank(message = "统一社会信用代码不能为空")
	private String uniformSocialCreditCode;
	
	/**
	 * 企业名称
	 */
	@ApiModelProperty(value = "企业名称", required = true, example = "天津东疆保税港区瑞海国际物流有限公司")
	@NotBlank(message = "企业名称不能为空")
	private String enterpriseName;
}
